package com.byjh.app.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.byjh.common.annotation.Excel;
import com.byjh.common.core.domain.BaseEntity;

/**
 * 用户刷题记录对象 question_records
 * 
 * @author Dhq
 * @date 2025-03-06
 */
@Data
@Accessors(chain = true)
public class QuestionRecords
{

    private Long id;

    /** 用户ID */
    private Long userId;

    /** 题目ID */
    private Long questionId;

    /** 科目ID */
    private Long subjectId;

    /**
     * 是否回答正确：0-错误，1-正确
     */
    private Integer isCorrect;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createAt;

}
